package com.yilin.tms.core.entity.gps.gaode;

import java.io.Serializable;
import java.util.List;


/**
 * 返回高德规划结果
 * */
public class GeoRouteResult implements Serializable {
    private String status;
    private String info;
    private String infocode;
    private String count;
    private Route route;

    public Route getRoute() {
        return route;
    }

    public void setRoute(Route route) {
        this.route = route;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getInfocode() {
        return infocode;
    }

    public void setInfocode(String infocode) {
        this.infocode = infocode;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    /**
     * 线路数据
     */
    public class Route implements Serializable {
        private String origin;
        private String destination;
        private String taxi_cost;
        private List<Path> paths;

        public List<Path> getPaths() {
            return paths;
        }

        public void setPaths(List<Path> paths) {
            this.paths = paths;
        }

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public String getDestination() {
            return destination;
        }

        public void setDestination(String destination) {
            this.destination = destination;
        }

        public String getTaxi_cost() {
            return taxi_cost;
        }

        public void setTaxi_cost(String taxi_cost) {
            this.taxi_cost = taxi_cost;
        }


        public class Path implements Serializable {
            String distance;
            String restriction;
            Cost cost;
            List<Step> steps;

            public Cost getCost() {
                return cost;
            }

            public void setCost(Cost cost) {
                this.cost = cost;
            }

            public List<Step> getSteps() {
                return steps;
            }

            public void setSteps(List<Step> steps) {
                this.steps = steps;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getRestriction() {
                return restriction;
            }

            public void setRestriction(String restriction) {
                this.restriction = restriction;
            }

            public class Cost implements Serializable {
                private String duration;
                private String tolls;
                private String toll_distance;
                private String traffic_lights;

                public String getDuration() {
                    return duration;
                }

                public void setDuration(String duration) {
                    this.duration = duration;
                }

                public String getTolls() {
                    return tolls;
                }

                public void setTolls(String tolls) {
                    this.tolls = tolls;
                }

                public String getToll_distance() {
                    return toll_distance;
                }

                public void setToll_distance(String toll_distance) {
                    this.toll_distance = toll_distance;
                }

                public String getTraffic_lights() {
                    return traffic_lights;
                }

                public void setTraffic_lights(String traffic_lights) {
                    this.traffic_lights = traffic_lights;
                }
            }

            public class Step implements Serializable {
                private String instruction;
                private String orientation;
                private String step_distance;
                private Cost cost;

                private List<Tmc> tmcs;

                public Cost getCost() {
                    return cost;
                }

                public void setCost(Cost cost) {
                    this.cost = cost;
                }

                public String getInstruction() {
                    return instruction;
                }

                public void setInstruction(String instruction) {
                    this.instruction = instruction;
                }

                public String getOrientation() {
                    return orientation;
                }

                public void setOrientation(String orientation) {
                    this.orientation = orientation;
                }

                public String getStep_distance() {
                    return step_distance;
                }

                public void setStep_distance(String step_distance) {
                    this.step_distance = step_distance;
                }

                public List<Tmc> getTmcs() {
                    return tmcs;
                }

                public void setTmcs(List<Tmc> tmcs) {
                    this.tmcs = tmcs;
                }
            }

            public class Tmc implements Serializable {
                private String tmc_status;
                private String tmc_distance;
                private String tmc_polyline;

                public String getTmc_status() {
                    return tmc_status;
                }

                public void setTmc_status(String tmc_status) {
                    this.tmc_status = tmc_status;
                }

                public String getTmc_distance() {
                    return tmc_distance;
                }

                public void setTmc_distance(String tmc_distance) {
                    this.tmc_distance = tmc_distance;
                }

                public String getTmc_polyline() {
                    return tmc_polyline;
                }

                public void setTmc_polyline(String tmc_polyline) {
                    this.tmc_polyline = tmc_polyline;
                }
            }
        }
    }
}


